﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UtilZ.Dotnet.Ex.Communication.Net.Web
{
    /// <summary>
    /// http请求处理接口
    /// </summary>
    public interface IHttpRequestHandler : IDisposable
    {
        /// <summary>
        /// 处理请求
        /// </summary>
        /// <param name="request">请求</param>
        /// <returns>响应</returns>
        IHttpResponse ProcessRequest(HttpRequest request);
    }
}
